<template>
  <view class="package taem" v-for="item in orderLists" :kye='item.id'>
    <view class="space-between top">
      <view>调整额度</view>
      <view>{{item.money?item.money:item.amount}}</view>
    </view>
    <view class="space-between top">
      <view>{{type}}</view>
	  <view>{{item.name}}</view>
    </view>
    <view class="space-between top">
      <view>调整人</view>
      <view>{{item.admin_name}}</view>
    </view>
    <view class="space-between top">
      <view>单据时间</view>
      <view>{{item.createtime}}</view>
    </view>
    <view class="space-between top">
      <view>备注</view>
      <view style="width:80%;text-align: right;">{{item.remarks?item.remarks:'--'}}</view>
    </view>
  </view>
</template>

<script setup lang="ts">
  const props = defineProps({
    orderLists: { type: Array },
    type: { type: String },
  });
</script>

<style scoped lang="less">
  .taem:nth-of-type(1) {
    margin-top: 0px;
  }

  .top {
    margin-top: 10rpx;
  }
</style>